]> dgit.raspbian.org Git - gnome-shell.git/commit
Fix hover state after DND
authorOwen W. Taylor <otaylor@fishsoup.net>
Sun, 30 Jan 2011 22:39:50 +0000 (17:39 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Mon, 7 Mar 2011 21:53:56 +0000 (16:53 -0500)
commit36287fc33ba8913e5cba371c6494e65214b51fb7
tree975fd740de44cba40b37f21646048970785ff73d
parentedd5a5f1857d2efdea744760be7c96b6acab58e4
Fix hover state after DND

During a drag-and-drop, our pointer grab keeps enter/leave events from
being delivered. That means that after the DND ends, whatever actor is
under the pointer won't have received the enter event it should have,
and any state or hover effect dependent on that won't work right.
By paying attention to the actors we leave and enter we can figure out
what widgets we need to call st_widget_sync_hover() on after the drag.

https://bugzilla.gnome.org/show_bug.cgi?id=640974
js/ui/dnd.js